package com.fullstuck.factory;

import com.fullstuck.dao.User;
import com.fullstuck.dao.impl.UserDaoImpl;


/**
 * 创建工厂类
 * 代理工厂，代理实例化，可以实现自定义实例化
 */
public class Staticfactory {


    //手动实例化
    public static User getuser(){
        return new UserDaoImpl();
    }
}
